package test8;

public class test {
    Integer balance;
    public void deposit(int money){//201621123021
        synchronized (this){
            balance+=money;
        }

    }
    public void withdraw(int money){
        synchronized (this){
            balance-=money;
        }
    }
}
